package dao;

import pojo.DVD;

//dvd操作接口
public interface DvdDao {

    //查看dvd
    DVD[] queryAll();
    //新增dvd
    boolean insertDVD(DVD dvd);
    //删除
    boolean deleteDVD(String name);
    //借出
    boolean lendDVD(DVD dvd);
    //归还
    int revert(DVD dvd);
    //根据dvd名字查询
    DVD queryByName(String name);

}
